//
// Created by jetkey on 18-8-14.
//

#include "my_test.h"

using namespace std;

//using Printer = std::function<void (const string &)>;
//using Initor = std::function<bool (void **usrdata, int *fps,Printer)>;
//using Step = std::function<bool (void *usrData, char *rgb,char *dep,int w,int h,Printer)>;
//using Ender = std::function<void (void *usrData,Printer)>;

//typedef void(*TestFun)(Printer p);

struct TestCase{
    const char * name;
    void *usrData;
    Initor initor;
    Step step;
    Ender ender;
};

//在次加入所有的测试函数, testList 和 TestCase的定义保存不变
TestCase testList[]={
        //所有的测试函数
        {"Test 1",NULL,initText1,stepTest1,endTest1},
        //结束标志
        {NULL,NULL,NULL,NULL,NULL}
};

